# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=idesk
pkgver=1
pkgrel=1
pkgdesc="Program to show icons on the desktop"
url="https://idesk.sourceforge.net/html/index.html"
arch="all"
license="GPL-2.0-only"
makedepends="texinfo automake autoconf imlib2-dev libxft-dev"
source="https://github.com/antonialoytorrens/idesk/releases/download/v$pkgver/idesk-v$pkgver.tar.gz
	imlib2.patch
	"
builddir="$srcdir/idesk-v$pkgver"

prepare() {
	default_prepare

	autoconf
}

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
3190fca7a5c9fb36b66159107d22b5f6e50b4573afa21a3a4d8b8e3e5953dabda077c924e45d2607b849ee5fea141eb80f5b89ce5288ebc2490679f319edf768  idesk-v1.tar.gz
6f58e1db76935a8477b02cf07a6fa17234e5fb6e9aa19426eb25df949519dc6ea85b4182436386f0f2fe0478d37d88053e3f4807ae94c6ca62c7444347b0d8c8  imlib2.patch
"
